<div id="report" class="clear-fix {{ activePage }}">
    <div id="sidebar" class="pull-left" sidebar></div>
    <div id="content" class="pull-left">
        <p>
            <span class="orderType" ng-class="{active: activeDimension == 'byDate'}">
                <u class="icon"></u><span class="text">详细情况</span><a class="link" href="/index.php/Timeon/index#/report/byDate/{{ activePage }}">详细情况</a>
            </span><span class="orderType" ng-class="{active: activeDimension == 'byCompany'}">
                <u class="icon"></u><span class="text">企业排行榜</span><a class="link" href="/index.php/Timeon/index#/report/byCompany/{{ activePage }}">企业排行榜</a>
            </span>
        </p>
        <div ng-controller="dimensionByDate" ng-show="activeDimension === 'byDate'">
            <div id="dateSelectGroup">
                       时间：<div class="input-box" single-calendar-ctrl="start">
                        <input type="text" class="dateSelector" placeholder="开始" ng-model="intervalCalendar.start.dateStr" />
                        <div class="calendar" single-calendar="initCalendarSettings('start')"></div>
                    </div> - <div class="input-box" single-calendar-ctrl="end">
                        <input type="text" class="dateSelector" placeholder="结束" ng-model="intervalCalendar.end.dateStr" />
                        <div class="calendar" single-calendar="initCalendarSettings('end')"></div>
                    </div><div id="orderTimeBase">           
                              单位：<select ng-model="baseType">
                        <option value="date">日</option>
                        <!--<option value="week">周</option>-->
                        <option value="month">月</option>
                    </select>
                </div>
            </div>
            <div style="position: relative;">
                <p class="chart-trend-noData" style="width:100px;height:20px;position: absolute;left: 50%;margin-left: -50px;top: 50%;margin-top: -10px;visibility: hidden;">暂无数据</p>
                <div class="chart-trend" chart-trend="data" style="width: 100%;height: 300px;"></div>
            </div>
            <div ks-table='tableSettings'></div>
        </div>
        <div class="dimensionByCompany" ng-controller="dimensionByCompany" ng-show="activeDimension === 'byCompany'">
            <div class="selectGroup" style="margin-bottom: 10px;">
                统计范围：上<span ng-show="!baseType_company">{{ baseType_company_map[currentBaseType].text }}</span><select ng-show="baseType_company" ng-model="currentBaseType">
                    <option ng-repeat="key in baseType_company" value="{{ baseType_company_map[key].value }}" ng-bind="baseType_company_map[key].text"></option>
                </select>
            </div>
            <div ks-table-company='tableSettings'></div>
        </div>
    </div>
</div>